package com.lmk;

public class StudentText {
    public static void main(String[] args) {
        StudentBiz a=new StudentBiz();
        a.addStudent(new Student(1,"张三",14,100.0));
        a.addStudent(new Student(2,"李四",12,80.0));
        a.addStudent(new Student(3,"利益",17,95.0));
        a.addStudent(new Student(4,"张1",19,99.0));
        a.addStudent(new Student(5,"张2",22,99.1));
        a.sortByAge();
        a.showStudent();
        System.out.println("********************************");
        a.sortByScore();
        a.showStudent();


    }


}
